Fixed bench_virtual_manifest_all_implied test
authordebris <marek.kotewicz@gmail.com>
Thu, 27 Jul 2017 21:20:34 +0000 (23:20 +0200)
committerdebris <marek.kotewicz@gmail.com>
Thu, 27 Jul 2017 21:20:34 +0000 (23:20 +0200)
tests/bench.rs

index 728536d80b20e5a18253595778a2d449e6275577..56cc52f6e3d52ef2d66509688bb94a14aa9fd346 100644 (file)
@@ -1231,20 +1231,13 @@ fn bench_virtual_manifest_all_implied() {
         "#);
 
     // The order in which foo and bar are built is not guaranteed
+    
     assert_that(p.cargo_process("bench"),
                 execs().with_status(0)
                        .with_stderr_contains("\
 [RUNNING] target[/]release[/]deps[/]bar-[..][EXE]")
-                       .with_stdout_contains("
-running 1 test
-test bench_bar ... bench:           0 ns/iter (+/- 0)
-test result: ok. 0 passed; 0 failed; 0 ignored; 1 measured
-")
-                        .with_stderr_contains("\
+                       .with_stdout_contains("test bench_bar ... bench: [..]")
+                       .with_stderr_contains("\
 [RUNNING] target[/]release[/]deps[/]foo-[..][EXE]")
-                       .with_stdout_contains("
-running 1 test
-test bench_foo ... bench:           0 ns/iter (+/- 0)
-test result: ok. 0 passed; 0 failed; 0 ignored; 1 measured
-"));
+                       .with_stdout_contains("test bench_foo ... bench: [..]"));
 }